<?php

	
	
	$number = (int) $vars['entity']->num_display;
	if (!$number)
		$number = 2;
		
      $owner = $vars['entity']->owner_guid;
      $objectsg = list_entities("group", "", page_owner(), $number, false);
      echo $objectsg;
     
?>
